{extend name="base" /} {block name="body"}

<h1> 最近的相册 </h1>
{foreach name="img_list" item="val"}
<div class="item" type="pic">
    <div class="img">
        <img src="{$val.thumb}" alt="" style="width:40%;">
        <div class="tag">
            {foreach name=":config('type')" item="v2"} {eq name="$val.type" value="$v2.value"} {$v2.name} {/eq} {/foreach}
        </div>
        <div class="hover">
            <div class="like active ">收藏</div>
            <a target="_blank" href="/index/download/download/id/{$val.id}/type/image" class="download">
                <i class="mdui-icon material-icons">vertical_align_bottom</i>点击下载</a>
        </div>
    </div>
    <p>{$val.title}</p>
</div>
{/foreach}

{/block} {block name="script"}


{/block}